<?php


   class IpAction extends CommonAction{
     
	 public function index(){
	 
	  
	   $this->re=$this->page('ipku',10,'id desc');
	 
	   $this->display();
	 
	 }
	 
	 
	 
	 public function del(){
	 
	 
	   $this->ajaxReturn((M('ipku')->where('id="%s"',$_POST['id'])->delete())?1:2);
	 
	 }
   
   
   
   }